<script type="text/javascript">
    $(document).ready(function() {
        <?php
        $children = $this->item->children('DigUi_Model_Macro');
        if($children) {
            foreach ($children as $child) {
                echo $child->jquery_script;
            }
        }?>
    });
</script>

